﻿using CraftParameterConfig.Infrastructure.Common.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CraftParameterConfig.Domain.Entity
{
    public class TableIndexConfig : EntityBase
    {
        public Guid MainID{ get; set; }
        public string Name { get; set; }
        public IndexDataType DataType { get; set; }
        public DataCondition DataCondition { get; set; }
        public int Order_Index { get; set; }
        public TableIndexConfig()
        { }
        public TableIndexConfig(Guid main_id, string name, IndexDataType dataType, DataCondition dataCondition, int order_Index)
        {
            MainID = main_id;
            Name = name;
            DataType = dataType;
            DataCondition = dataCondition;
            Order_Index = order_Index;
        }
    }
}
